[HVM][SVM] Modify the interrupt/event injection logic.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 20 Dec 2006 10:14:50 +0000 (10:14 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 20 Dec 2006 10:14:50 +0000 (10:14 +0000)
commit625141e5d7a0076eddf421cd7afccefce9cb000e
tree33521e3decf8326c66bcbbe0b97a73def0fc7372
parentdb6dca73cded803455d1223a233a0b735cd85abf
[HVM][SVM] Modify the interrupt/event injection logic.

Resolves performance issues concerning AMD-V virtual interrupt/event
injection:
 - Remove extra VINTRs vmexits, and only setup fake interrupt if intr
   pending.
 - Allow both event injection and interrupt injection concurrently in
   vmcb.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/hvm/svm/vmcb.h